package com.demo.rocketmq.config.properties;

import com.demo.rocketmq.constants.RocketMqConstants;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * 消息重试配置
 * @author cyj
 */
@Data
@ConfigurationProperties(prefix = RocketMqConstants.CALLBACK_PROPERTIES)
public class RocketMqConfigPropertites {

    private boolean enable;

    private List<Consume> consume;

    private Retry retry;
}
